package com.ssy.jt808.gateway.client.operation.pojo;

import com.ssy.jt808.gateway.client.pojo.JtRequestBase;
import lombok.Data;

/**
 * 人工确认报警消息
 *
 * @author wangzezhou
 */
@Data
public class T8203Request extends JtRequestBase{

  public T8203Request(){
    super(0x8203);
  }


  /** 消息流水号 */
  private int responseSerialNo;

  /**
   * 报警类型："
   * [0]确认紧急报警"
   * [1~2]保留"
   * [3]确认危险预警"
   * [4~19]保留"
   * [20]确认进出区域报警"
   * [21]确认进出路线报警"
   * [22]确认路段行驶时间不足/过长报警"
   * [23~26]保留"
   * [27]确认车辆非法点火报警"
   * [28]确认车辆非法位移报警"
   * [29~31]保留
   */
  private int type;

  @Override
  public String url(){
    return host + "/v1/terminals/messages/8203";
  }
}
